//
//  BVSearchShopsCell.h
//  BuyVegetables1
//
//  Created by 叶思超 on 15/10/23.
//  Copyright (c) 2015年 叶思超. All rights reserved.
//

#import <UIKit/UIKit.h>
@class BVShopsLeftCategoryDetail;
@class BVSearchShopsCell;
@protocol BVSearchShopsCellDelegate <NSObject>

- (void)bvSearchShopsCell:(BVSearchShopsCell *)cell shopsCountChanged:(NSString *)countStr;

@end

@interface BVSearchShopsCell : UITableViewCell
/**
 *  创建cell
 */
+ (instancetype)cell;

/**
 *  数据模型
 */
@property (nonatomic, strong) BVShopsLeftCategoryDetail *searchShops;
// 添加商品
@property (weak, nonatomic) IBOutlet UIButton *addButton;
// 减少商品
@property (weak, nonatomic) IBOutlet UIButton *subButton;
// 商品选购数量
@property (weak, nonatomic) IBOutlet UITextField *shopsCountF;
@property (nonatomic,assign) id <BVSearchShopsCellDelegate> delegate;
@end
